// 接口地址
const ROOT_PATH = `${window.location.origin.replace(/:\d+/, '')}`;

// 全局配置
const globalConfig = {
  root_path: ROOT_PATH,
  apiPath: {
    service: `${ROOT_PATH}`,
    auth: `${ROOT_PATH}`
  },
  lang: 'zh-CN'
};

// 子业务全局配置
const resourceConfig = {};

export default {
  globalConfig,
  resourceConfig
};
